<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Ivan
 * Date: 8/20/12
 * Time: 10:05 AM
 * To change this template use File | Settings | File Templates.
 */
 
class InPageTranslations extends Engine {
    public static function show() {
        $langs = conf('LANGS');
        $allUntranslated = Db_Locale_Untranslated::findAllArray('*', 'ut_module ASC, ut_key ASC, ut_lang_id ASC');
        self::$TPL->assign('langs', $langs);
        self::$TPL->assign('allUntranslated', $allUntranslated);
        self::$TPL->display('in_page_translation');
        return;
    }
}
